<!-- Documentation produced by the Html generator of Bouml (http://bouml.free.fr) -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>diagrams
Documentation</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body bgcolor="#ffffff">

<div class = "title">diagrams<br />Documentation</div>
<p></p>

<!-- ============================================================= -->

<a name="ref1"></a>
<a name="ref2"></a>
<h1 class ="package">1 Package ads</h1>
<div class="sub">
<a name="ref3"></a>
<h2 class ="view">1.1 Component View components</h2>
<div class="sub">
<a name="ref4"></a>
<table><tr><td><div class="element">Component <b>WNAds</b></div></td></tr></table>
<p>realized classes : <a href="class11.html#ref11"><b>WNServerSession</b></a></p>
<div class="sub">
<a name="ref5"></a>
<table><tr><td><div class="element">Component <b>model</b></div></td></tr></table>
<p>nested in <a href="index.html#ref4"><b>WNAds</b></a></p>
<a name="ref6"></a>
<table><tr><td><div class="element">Component <b>view</b></div></td></tr></table>
<p>nested in <a href="index.html#ref4"><b>WNAds</b></a></p>
</div>
<a name="ref7"></a>
<table><tr><td><div class="element">Component <b>Website</b></div></td></tr></table>
<p>realized classes : <a href="class12.html#ref12"><b>WebsiteServerSession</b></a></p>
<a name="ref8"></a>
<table><tr><td><div class="element">Component <b>WebBrowser</b></div></td></tr></table>
<p>realized classes : <a href="class13.html#ref13"><b>WebBrowserSession</b></a></p>
<a name="ref9"></a>
<p align="center"><img src="fig1.png" alt="" /></p>
 <p align="center"><b>components</b></p><p><br /></p><p><br /></p>
</div>
<a name="ref10"></a>
<h2 class ="view">1.2 Class View component classes</h2>
<div class="sub">
<table><tr><td><div class="element">Class <b><a href="class11.html#ref11"><b>WNServerSession</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class12.html#ref12"><b>WebsiteServerSession</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class13.html#ref13"><b>WebBrowserSession</b></a></b></div></td></tr></table>
</div>
<a name="ref14"></a>
<h2 class ="view">1.3 Class View classes</h2>
<div class="sub">
<a name="ref15"></a>
<p align="center"><img src="fig2.png" alt="" /></p>
 <p align="center"><b>model classes</b></p><p><br /></p><p><br /></p>
<table><tr><td><div class="element">Class <b><a href="class16.html#ref16"><b>Show</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class22.html#ref22"><b>Ad</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class41.html#ref41"><b>Advertiser</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class46.html#ref46"><b>Word</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class48.html#ref48"><b>URL</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class52.html#ref52"><b>Website</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class60.html#ref60"><b>Log</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class66.html#ref66"><b>AdCredit</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class72.html#ref72"><b>Settings</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class74.html#ref74"><b>AdvertiserUser</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class78.html#ref78"><b>WebsiteUser</b></a></b></div></td></tr></table>
<a name="ref83"></a>
<p align="center"><img src="fig3.png" alt="" /></p>
 <p align="center"><b>requests and responses</b></p><p><br /></p><p><br /></p>
<table><tr><td><div class="element">Class <b><a href="class84.html#ref84"><b>AdModel</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class87.html#ref87"><b>AdBox</b></a></b></div></td></tr></table>
</div>
<a name="ref90"></a>
<h2 class ="view">1.4 Use Case View use cases</h2>
<div class="sub">
<table><tr><td><div class="element">Class <b><a href="class91.html#ref91"><b>EndUser</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class92.html#ref92"><b>Advertiser</b></a></b></div></td></tr></table>
<table><tr><td><div class="element">Class <b><a href="class93.html#ref93"><b>WebMaster</b></a></b></div></td></tr></table>
</div>
<a name="ref94"></a>
<h2 class ="view">1.5 Class View flow</h2>
<div class="sub">
<a name="ref95"></a>
<h3 class ="activity">1.5.1 Activity creating a webmaster account</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref96"></a>
<p align="center"><img src="fig4.png" alt="" /></p>
 <p align="center"><b>creating a webmaster account</b></p><p><br /></p><p><br /></p>
<a name="ref97"></a>
<a name="ref97"></a>
<table><tr><td><div class="element">Initial activity node <b>Webmaster loads home page</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref97"><b>Webmaster loads home page</b></a> To <a href="index.html#ref99"><b>Click on "New Account"</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref99"></a>
<table><tr><td><div class="element">Opaque activity action <b>Click on "New Account"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref99"><b>Click on "New Account"</b></a> To <a href="index.html#ref101"><b>Fill form with details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref101"></a>
<table><tr><td><div class="element">Opaque activity action <b>Fill form with details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref101"><b>Fill form with details</b></a> To <a href="index.html#ref103"><b>Click on "New Website"</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref103"></a>
<table><tr><td><div class="element">Opaque activity action <b>Click on "New Website"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref103"><b>Click on "New Website"</b></a> To <a href="index.html#ref105"><b>Fill form with website details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref105"></a>
<table><tr><td><div class="element">Opaque activity action <b>Fill form with website details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref105"><b>Fill form with website details</b></a> To <a href="index.html#ref107"><b>Receive a new ID</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref107"></a>
<table><tr><td><div class="element">Opaque activity action <b>Receive a new ID</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref107"><b>Receive a new ID</b></a> To <a href="index.html#ref110"><b>Wanna create a new AdBox?</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref109"></a>
<a name="ref109"></a>
<table><tr><td><div class="element">Activity final <b>Success message is shown</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><a name="ref110"></a>
<a name="ref110"></a>
<table><tr><td><div class="element">Decision activity node <b>Wanna create a new AdBox?</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>Does not want to create a new AdBox</div></td></tr></table><p>From <a href="index.html#ref110"><b>Wanna create a new AdBox?</b></a> To <a href="index.html#ref109"><b>Success message is shown</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul><table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref110"><b>Wanna create a new AdBox?</b></a> To <a href="index.html#ref113"><b>create a new ad box</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref113"></a>
<table><tr><td><div class="element">Call behavior activity action <b>create a new ad box</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref95"><b>creating a webmaster account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior : <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref113"><b>create a new ad box</b></a> To <a href="index.html#ref109"><b>Success message is shown</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
</div>
<a name="ref115"></a>
<h3 class ="activity">1.5.2 Activity creating an advertise account</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref116"></a>
<p align="center"><img src="fig5.png" alt="" /></p>
 <p align="center"><b>creating an advertise account</b></p><p><br /></p><p><br /></p>
<a name="ref117"></a>
<a name="ref117"></a>
<table><tr><td><div class="element">Initial activity node <b>Customer loads home page</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref117"><b>Customer loads home page</b></a> To <a href="index.html#ref123"><b>have already an account?</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref119"></a>
<table><tr><td><div class="element">Opaque activity action <b>Click on "Become an Advertiser"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref119"><b>Click on "Become an Advertiser"</b></a> To <a href="index.html#ref121"><b>Fill form with advertiser details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref121"></a>
<table><tr><td><div class="element">Opaque activity action <b>Fill form with advertiser details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref121"><b>Fill form with advertiser details</b></a> To <a href="index.html#ref132"><b>wanna create an Ad now?</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref123"></a>
<a name="ref123"></a>
<table><tr><td><div class="element">Decision activity node <b>have already an account?</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>has no account</div></td></tr></table><p>From <a href="index.html#ref123"><b>have already an account?</b></a> To <a href="index.html#ref126"><b>create new account</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul><table><tr><td><div class="element">Flow  <b>has an account</div></td></tr></table><p>From <a href="index.html#ref123"><b>have already an account?</b></a> To <a href="index.html#ref128"><b>is authenticated?</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref126"></a>
<table><tr><td><div class="element">Call behavior activity action <b>create new account</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior : <a href="index.html#ref138"><b>creating an account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref126"><b>create new account</b></a> To <a href="index.html#ref131"><b>Login and authenticate</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref128"></a>
<a name="ref128"></a>
<table><tr><td><div class="element">Decision activity node <b>is authenticated?</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>is not authenticated</div></td></tr></table><p>From <a href="index.html#ref128"><b>is authenticated?</b></a> To <a href="index.html#ref131"><b>Login and authenticate</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul><table><tr><td><div class="element">Flow  <b>is authenticated</div></td></tr></table><p>From <a href="index.html#ref128"><b>is authenticated?</b></a> To <a href="index.html#ref119"><b>Click on "Become an Advertiser"</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref131"></a>
<table><tr><td><div class="element">Opaque activity action <b>Login and authenticate</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><a name="ref132"></a>
<a name="ref132"></a>
<table><tr><td><div class="element">Decision activity node <b>wanna create an Ad now?</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>want to create a new ad</div></td></tr></table><p>From <a href="index.html#ref132"><b>wanna create an Ad now?</b></a> To <a href="index.html#ref135"><b>create new ad</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul><table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref132"><b>wanna create an Ad now?</b></a> To <a href="index.html#ref137"><b>does not want to create an ad</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref135"></a>
<table><tr><td><div class="element">Call behavior activity action <b>create new ad</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior : <a href="index.html#ref147"><b>creating an ad</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref135"><b>create new ad</b></a> To <a href="index.html#ref137"><b>does not want to create an ad</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref137"></a>
<a name="ref137"></a>
<table><tr><td><div class="element">Activity final <b>does not want to create an ad</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref115"><b>creating an advertise account</b></a></p></div>
<a name="ref138"></a>
<h3 class ="activity">1.5.3 Activity creating an account</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref139"></a>
<p align="center"><img src="fig6.png" alt="" /></p>
 <p align="center"><b>creating an account</b></p><p><br /></p><p><br /></p>
<a name="ref140"></a>
<a name="ref140"></a>
<table><tr><td><div class="element">Initial activity node <b>User load home page</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref138"><b>creating an account</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref140"><b>User load home page</b></a> To <a href="index.html#ref142"><b>Click on "New Account"</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref142"></a>
<table><tr><td><div class="element">Opaque activity action <b>Click on "New Account"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref138"><b>creating an account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref142"><b>Click on "New Account"</b></a> To <a href="index.html#ref144"><b>Fill form with account details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref144"></a>
<table><tr><td><div class="element">Opaque activity action <b>Fill form with account details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref138"><b>creating an account</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref144"><b>Fill form with account details</b></a> To <a href="index.html#ref146"><b>Get a new account and welcome message</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref146"></a>
<a name="ref146"></a>
<table><tr><td><div class="element">Activity final <b>Get a new account and welcome message</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref138"><b>creating an account</b></a></p></div>
<a name="ref147"></a>
<h3 class ="activity">1.5.4 Activity creating an ad</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref148"></a>
<p align="center"><img src="fig7.png" alt="" /></p>
 <p align="center"><b>creating an ad</b></p><p><br /></p><p><br /></p>
<a name="ref149"></a>
<a name="ref149"></a>
<table><tr><td><div class="element">Initial activity node <b>User loads page "Create new Ad"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref147"><b>creating an ad</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref149"><b>User loads page "Create new Ad"</b></a> To <a href="index.html#ref151"><b>Fill form with Ad details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref151"></a>
<table><tr><td><div class="element">Opaque activity action <b>Fill form with Ad details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref147"><b>creating an ad</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref151"><b>Fill form with Ad details</b></a> To <a href="index.html#ref153"><b>wanna get credits?</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref153"></a>
<a name="ref153"></a>
<table><tr><td><div class="element">Decision activity node <b>wanna get credits?</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref147"><b>creating an ad</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>does not want to get credits</div></td></tr></table><p>From <a href="index.html#ref153"><b>wanna get credits?</b></a> To <a href="index.html#ref156"><b>Loads Ads list</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul><table><tr><td><div class="element">Flow  <b>wants to get credits</div></td></tr></table><p>From <a href="index.html#ref153"><b>wanna get credits?</b></a> To <a href="index.html#ref157"><b>getting credits for this ad</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref156"></a>
<a name="ref156"></a>
<table><tr><td><div class="element">Activity final <b>Loads Ads list</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref147"><b>creating an ad</b></a></p><a name="ref157"></a>
<table><tr><td><div class="element">Call behavior activity action <b>getting credits for this ad</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref147"><b>creating an ad</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior : <a href="index.html#ref159"><b>getting credits for an ad</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref157"><b>getting credits for this ad</b></a> To <a href="index.html#ref156"><b>Loads Ads list</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
</div>
<a name="ref159"></a>
<h3 class ="activity">1.5.5 Activity getting credits for an ad</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref160"></a>
<p align="center"><img src="fig8.png" alt="" /></p>
 <p align="center"><b>getting credits for an ad</b></p><p><br /></p><p><br /></p>
<a name="ref161"></a>
<a name="ref161"></a>
<table><tr><td><div class="element">Initial activity node <b>Loads credits page for choosed Ad</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref159"><b>getting credits for an ad</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref161"><b>Loads credits page for choosed Ad</b></a> To <a href="index.html#ref163"><b>Choose how much wanna pay</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref163"></a>
<table><tr><td><div class="element">Opaque activity action <b>Choose how much wanna pay</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref159"><b>getting credits for an ad</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref163"><b>Choose how much wanna pay</b></a> To <a href="index.html#ref165"><b>Pay using our "Paypal-like" system</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref165"></a>
<table><tr><td><div class="element">Opaque activity action <b>Pay using our "Paypal-like" system</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref159"><b>getting credits for an ad</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref165"><b>Pay using our "Paypal-like" system</b></a> To <a href="index.html#ref167"><b>Shows a list with pending credits waiting for payment confirmation</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref167"></a>
<table><tr><td><div class="element">Opaque activity action <b>Shows a list with pending credits waiting for payment confirmation</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref159"><b>getting credits for an ad</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref167"><b>Shows a list with pending credits waiting for payment confirmation</b></a> To <a href="index.html#ref169"><b>Loads Ad's page with its details</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref169"></a>
<a name="ref169"></a>
<table><tr><td><div class="element">Activity final <b>Loads Ad's page with its details</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref159"><b>getting credits for an ad</b></a></p></div>
<a name="ref170"></a>
<h3 class ="activity">1.5.6 Activity credits confirmation</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref171"></a>
<p align="center"><img src="fig9.png" alt="" /></p>
 <p align="center"><b>credits confirmation</b></p><p><br /></p><p><br /></p>
<a name="ref172"></a>
<a name="ref172"></a>
<table><tr><td><div class="element">Initial activity node <b>E-mail confirmation is received</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref170"><b>credits confirmation</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref172"><b>E-mail confirmation is received</b></a> To <a href="index.html#ref174"><b>Credit is updated with confirmation date and confirmed flag setted as True</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref174"></a>
<table><tr><td><div class="element">Opaque activity action <b>Credit is updated with confirmation date and confirmed flag setted as True</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref170"><b>credits confirmation</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref174"><b>Credit is updated with confirmation date and confirmed flag setted as True</b></a> To <a href="index.html#ref176"><b>Ad is enabled</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref176"></a>
<table><tr><td><div class="element">Opaque activity action <b>Ad is enabled</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref170"><b>credits confirmation</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref176"><b>Ad is enabled</b></a> To <a href="index.html#ref178"><b>Sends message/e-mail to Advertiser about credit confirmation</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref178"></a>
<table><tr><td><div class="element">Opaque activity action <b>Sends message/e-mail to Advertiser about credit confirmation</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref170"><b>credits confirmation</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref178"><b>Sends message/e-mail to Advertiser about credit confirmation</b></a> To <a href="index.html#ref180"><b>activity final</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref180"></a>
<a name="ref180"></a>
<table><tr><td><div class="element">Activity final <b></b></div></td></tr></table>
<p>Defined in <a href="index.html#ref170"><b>credits confirmation</b></a></p></div>
<a name="ref181"></a>
<h3 class ="activity">1.5.7 Activity creating an ad box (adsense)</h3>
<p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><div class="sub">
<a name="ref182"></a>
<p align="center"><img src="fig10.png" alt="" /></p>
 <p align="center"><b>creating an ad box (adsense)</b></p><p><br /></p><p><br /></p>
<a name="ref183"></a>
<a name="ref183"></a>
<table><tr><td><div class="element">Initial activity node <b>Webmaster loads ad models page</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref183"><b>Webmaster loads ad models page</b></a> To <a href="index.html#ref185"><b>Click on "create a new ad box"</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref185"></a>
<table><tr><td><div class="element">Opaque activity action <b>Click on "create a new ad box"</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref185"><b>Click on "create a new ad box"</b></a> To <a href="index.html#ref187"><b>User choose one of available Ad models</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref187"></a>
<table><tr><td><div class="element">Opaque activity action <b>User choose one of available Ad models</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref187"><b>User choose one of available Ad models</b></a> To <a href="index.html#ref189"><b>Get the HTML/JS script for this AdBox</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref189"></a>
<table><tr><td><div class="element">Opaque activity action <b>Get the HTML/JS script for this AdBox</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref189"><b>Get the HTML/JS script for this AdBox</b></a> To <a href="index.html#ref191"><b>Put HTML/JS code in its website code</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref191"></a>
<table><tr><td><div class="element">Opaque activity action <b>Put HTML/JS code in its website code</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p><p>Pre Condition :</p><ul></ul><p>Post Condition :</p><ul></ul><p>Behavior :</p><ul></ul><div class="sub">
<table><tr><td><div class="element">Flow  <b>&lt;flow&gt;</div></td></tr></table><p>From <a href="index.html#ref191"><b>Put HTML/JS code in its website code</b></a> To <a href="index.html#ref193"><b>Loads list of its Ad Boxes</b></a></p><p>Weight :</p><ul></ul><p>Guard :</p><ul></ul><p>Selection :</p><ul></ul><p>Transformation :</p><ul></ul></div>
<a name="ref193"></a>
<a name="ref193"></a>
<table><tr><td><div class="element">Activity final <b>Loads list of its Ad Boxes</b></div></td></tr></table>
<p>Defined in <a href="index.html#ref181"><b>creating an ad box (adsense)</b></a></p></div>
</div>
</div>
</body>
</html>
